<?php
require_once '../controler/verificarLogin.php';
if ($funcao!="Gerente")
    header("location: /site/view/viewErro.php?erro=6");

require 'cabeca.html';
?>

<html>
    <head>
    <title> Login </title></head>
    
    <body>
          
        
        <form method="POST" action="../controler/inserirUsuario.php">
            <label for="nome"> Login: </label>
            <input type="text" id="nome" name ="nome" />
            <br>
            
                <label for="senha"> Senha: </label>
            <input type="password" id="senha" name ="senha" />
            
                      <select name="lista" size="1">
  <option value="">-- escolha --</option>
  <option value="Gerente">Gerente</option>
  <option value="Auxiliar">Auxiliar</option>
  <option value="Funcionario">Funcionario</option>
 
</select>
            
            <input type="submit" value="enviar" name="submit"/>
            
        </form>    
        
        

</body>
</html>

<?php  
require 'rodape.html';
?>